OD=DISABLE_, SLEW=STANDARD, INV=INPUT_NOT_INVERTED_, FUNC=P1_18, MODE=INACTIVE_NO_PULL_DO, HYS=DISABLE_
I/O configuration register for pin P1[18]
FUNC | Selects pin function for pin P1[18] 0 (P1_18): General purpose digital input/output pin. 1 (USB_UP_LED1): It is LOW when the device is configured (non-control endpoints enabled), or when the host is enabled and has detected a device on the bus. It is HIGH when the device is not configured, or when host is enabled and has not detected a device on the bus, or during global suspend. It transitions between LOW and HIGH (flashes) when the host is enabled and detects activity on the bus. 2 (PWM1_1): Pulse Width Modulator 1, channel 1 output. 3 (T1_CAP0): Capture input for Timer 1, channel 0. 5 (SSP1_MISO): Master In Slave Out for SSP1. |
MODE | Selects function mode (on-chip pull-up/pull-down resistor control). 0 (INACTIVE_NO_PULL_DO): Inactive (no pull-down/pull-up resistor enabled). 1 (PULL_DOWN_RESISTOR_E): Pull-down resistor enabled. 2 (PULL_UP_RESISTOR_ENA): Pull-up resistor enabled. 3 (REPEATER_MODE_): Repeater mode. |
HYS | Hysteresis. 0 (DISABLE_): Disable. 1 (ENABLE_): Enable. |
INV | Invert input 0 (INPUT_NOT_INVERTED_): Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 1 (INPUT_INVERTED_HIGH): Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). |
RESERVED | Reserved. |
SLEW | Driver slew rate 0 (STANDARD): Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously. 1 (FAST): Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details. |
OD | Open-drain mode. 0 (DISABLE_): Disable. 1 (OPEN_DRAIN_MODE_ENAB): Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. |
RESERVED | Reserved. |